package com.ght.springboot.eunm.elasticsearch;

/**
 * @description: 查询方式
 * @author: haitao.gao
 * @create: 2019-02-25 10:41
 **/
public enum  QueryMethodEnum {

    MUST("must"),
    MUST_NOT("must_not"),
    SHOULD("should");


    private String method;

    QueryMethodEnum(String method) {
        this.method = method;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
}
